package cn.bass.marketing.convertor;

import cn.bass.marketing.common.vo.resp.MarketingStrategyPrizeRespVO;
import cn.bass.marketing.entity.MarketingStrategyPrizeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * {@author}: LiuWei
 * {@version}: 1.0
 * {@since}: 2024-08-15
 * {@link}: cn.bass.marketing.common.constant.RulesConstant
 * 描述：权重规则枚举
 */
@Mapper
public interface MarketingStrategyPrizeConvertor {

    MarketingStrategyPrizeConvertor INSTANCE = Mappers.getMapper(MarketingStrategyPrizeConvertor.class);

    MarketingStrategyPrizeDO respVO2do(MarketingStrategyPrizeRespVO entity);

    MarketingStrategyPrizeRespVO do2RespVO(MarketingStrategyPrizeDO dto);

    List<MarketingStrategyPrizeDO> respVOList2doList(List<MarketingStrategyPrizeRespVO> entityList);

    List<MarketingStrategyPrizeRespVO> doList2RespVOList(List<MarketingStrategyPrizeDO> dtoList);


}
